*******************************************************************************
******************************  TABLE A14  ************************************
*************  Effects of Gender Composition Over Time, Study 1  **************
*******************************************************************************

clear all
set more off

//cd "C:/Users/ganth/Dropbox/StrengthInNumbersReplicationPackage/replicable/table_a14"

*******************************************************************************

**Accounting survey dataset
use "table_a14_dataset.dta", clear

foreach var of varlist genderminfl_sep_ratio genderminfl_oct_ratio genderminfl_nov_ratio genderminfl_dec_ratio {
reg `var' i.fall_condition, robust
	margins fall_condition, post
	}
	
reg genderminfl_sep_ratio b3.fall_condition if fall_condition!=2 & fall_condition!=0, robust
outreg2 using "table_a14.tex", replace	
reg genderminfl_oct_ratio b3.fall_condition if fall_condition!=2 & fall_condition!=0, robust
outreg2 using "table_a14.tex", append	
reg genderminfl_nov_ratio b3.fall_condition if fall_condition!=2 & fall_condition!=0, robust
outreg2 using "table_a14.tex", append	
reg genderminfl_dec_ratio b3.fall_condition if fall_condition!=2 & fall_condition!=0, robust
outreg2 using "table_a14.tex", append tex(frag)	
